home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / dev / lang / python_src.lha / amigapython / modules / config.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-19  |  2.7 KB  |  97 lines

  1. /* Generated automatically from ./config.c.in by makesetup. */
  2. /* -*- C -*- ***********************************************
  3. Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
  4. The Netherlands.
  5.  
  6.                         All Rights Reserved
  7.  
  8. Permission to use, copy, modify, and distribute this software and its
  9. documentation for any purpose and without fee is hereby granted,
  10. provided that the above copyright notice appear in all copies and that
  11. both that copyright notice and this permission notice appear in
  12. supporting documentation, and that the names of Stichting Mathematisch
  13. Centrum or CWI not be used in advertising or publicity pertaining to
  14. distribution of the software without specific, written prior permission.
  15.  
  16. STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
  17. THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  18. FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
  19. FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  20. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  21. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
  22. OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  23.  
  24. ******************************************************************/
  25.  
  26. /* Module configuration */
  27.  
  28. /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
  29.  
  30. /* This file contains the table of built-in modules.
  31.    See init_builtin() in import.c. */
  32.  
  33. #include "Python.h"
  34.  
  35.  
  36. extern void initposix();
  37. extern void initsignal();
  38. extern void initarray();
  39. extern void initmath();
  40. extern void initparser();
  41. extern void initregex();
  42. extern void initstrop();
  43. extern void initstruct();
  44. extern void inittime();
  45. extern void initfcntl();
  46. extern void initpwd();
  47. extern void initgrp();
  48. extern void initcrypt();
  49. extern void initselect();
  50. extern void initsocket();
  51. extern void initdbm();
  52. extern void initaudioop();
  53. extern void initimageop();
  54. extern void initrgbimg();
  55. extern void initmd5();
  56. extern void inittkinter();
  57. extern void initrotor();
  58. extern void initbinascii();
  59.  
  60. /* -- ADDMODULE MARKER 1 -- */
  61.  
  62. extern void PyMarshal_Init();
  63. extern void initimp();
  64.  
  65. struct {
  66.     char *name;
  67.     void (*initfunc)();
  68. } inittab[] = {
  69.  
  70.     //{"socket", initsocket},
  71.     {"posix", initposix},
  72.     {"array", initarray},
  73.     {"math", initmath},
  74.     {"parser", initparser},
  75.     {"regex", initregex},
  76.     {"strop", initstrop},
  77.     {"struct", initstruct},
  78.     {"time", inittime},
  79.     {"binascii", initbinascii},
  80.  
  81. /* -- ADDMODULE MARKER 2 -- */
  82.  
  83.     /* This module "lives in" with marshal.c */
  84.     {"marshal", PyMarshal_Init},
  85.  
  86.     /* This lives it with import.c */
  87.     {"imp", initimp},
  88.  
  89.     /* These entries are here for sys.builtin_module_names */
  90.     {"__main__", NULL},
  91.     {"__builtin__", NULL},
  92.     {"sys", NULL},
  93.  
  94.     /* Sentinel */
  95.     {0, 0}
  96. };
  97.